package com.atguigu.gmall.publisher.service.impl;


;
import com.atguigu.gmall.publisher.bean.CourseReviewReduce;
import com.atguigu.gmall.publisher.mapper.CourseReviewMapper;
import com.atguigu.gmall.publisher.service.CourseReviewReduceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseReviewReduceServiceiml implements CourseReviewReduceService {

    @Autowired
    private CourseReviewMapper courseReviewMapper;
    @Override
    public List<CourseReviewReduce> getCourseReviewReduce(Integer date) {
        return courseReviewMapper.selectCourseReviewReduce(date);
    }
}